﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NearForums.Services
{
    public interface IAskQuestionService
    {
        List<Questions> GetAllQuestionsByPage(int pageSize, int pageNum);
        void Add(Questions q, int forumId, int userID);
        void Update(Questions q, int forumId);
        void Delete(int questionID);

        List<Questions> GetReletedQuestion(string keyword, Questions q);

        void AddVisit(int questionId);

        Questions GetQuestionById(int id);
    }
}
